Download Kaltura videos
Go to the Moodle page with embedded Kaltura videos.
In Developer tools open the Network tab and filter for “m3u8”.
For each video:
Select Clear network log (circle and slash icon).
Play the video. The network tab should show a loaded resource for an
.m3u8
file with the URL including authentication parameters.Copy the URL and run
curl URL
The displayed resource contents should contain one or more URLs for other playlists, possibly for different resolutions; choose one.
Copy that URL and run
ffmpeg -i "URL" -codec copy OUTPUT-FILE